package com.jw.springcloud.service;

import com.jw.springcloud.pojo.Dept;

import java.util.List;

/**
 * @Author jiangwang
 * @Created by 2021/3/23 14:27
 * @Description: TODO
 */
public interface DeptService {

    boolean addDept(Dept dept);

    Dept queryById(long id);

    List<Dept> queryAll();
}
